package main

import (
	"fmt"
	"reflect"
)

func main()  {
	animal := Animal{}
	value := reflect.ValueOf(&animal)
	f := value.MethodByName("Eat")
	f.Call([]reflect.Value{})
}

type Animal struct {

}

func (m *Animal) Eat(){
	fmt.Println("Eat")
}
